package com.cjl.common.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author cjl
 * @version v1.0
 * @description TODO
 * @createTime 2023/2/15 12:24
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@ApiModel(value = "LoginDto",description = "通用登录dto，参数包含手机号，密码，状态")
public class LoginDto {
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 密码
     */
    @ApiModelProperty("密码")
    private String password;

    /**
     * 标记  0--注册  1--登录
     */
    @ApiModelProperty("状态")
    private Short status;
}
